From: Timo Röhling Date: Thu, 16 Jun 2022 16:58:49 +0000 (+0200) Subject: Fix FTBFS with GCC-12 X-Git-Tag: archive/raspbian/1.9.25+dfsg3-1+rpi1^2~55 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=e71add4fb2cebf4424aaa881af1ee2d1b7a4b412;p=filament.git Fix FTBFS with GCC-12 Closes: #1012926 --- diff --git a/debian/patches/0016-Fix-FTBFS-with-GCC-12.patch b/debian/patches/0016-Fix-FTBFS-with-GCC-12.patch new file mode 100644 index 0000000..9ebeb43 --- /dev/null +++ b/debian/patches/0016-Fix-FTBFS-with-GCC-12.patch @@ -0,0 +1,20 @@ +From: =?utf-8?q?Timo_R=C3=B6hling?= +Date: Thu, 16 Jun 2022 18:46:44 +0200 +Subject: Fix FTBFS with GCC-12 + +--- + libs/utils/src/Profiler.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libs/utils/src/Profiler.cpp b/libs/utils/src/Profiler.cpp +index 75caf87..61513b8 100644 +--- a/libs/utils/src/Profiler.cpp ++++ b/libs/utils/src/Profiler.cpp +@@ -27,6 +27,7 @@ + #endif + + #include ++#include + #include + + #if defined(__linux__) diff --git a/debian/patches/series b/debian/patches/series index 5dbb9f8..623bfd4 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -13,3 +13,4 @@ 0013-Define-M_PIf-only-if-it-is-not-already-defined-in-ma.patch 0014-Avoid-mips-as-identifier-because-it-fails-on-mips-ar.patch 0015-Ensure-proper-alignment-of-resgen-_OFFSET-and-_SIZE-.patch +0016-Fix-FTBFS-with-GCC-12.patch